//
//  YDInOptionsModel.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2018/3/5.
//  Copyright © 2018年 LK-IOS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YDInOptionsModel : NSObject

/*
 publisherId : 8,
 tradeNo : 1803051603133384096,
 rightMoney : 12000,
 publisherPhone : 17665328204,
 lastPrice : 11.86,
 updateTime : 2018-03-05 16:00:13,
 cycleName : 两周,
 stockCode : 000001,
 buyingType : MARKETBUYING,
 stockName : 平安银行,
 cycle : 14,
 rightMoneyRatio : 0.06,
 state : WAITCONFIRMED,
 profit : 0,
 id : 30,
 upDropPrice : -0.09,
 upDropSpeed : -0.0075,
 applyTime : 2018-03-05 16:00:13,
 nominalAmount : 200000
 "buyingPrice": 0,
 "buyingTime": "2018-03-05T13:02:50.692Z",
 
 @property (nonatomic , copy) NSString *sellingPrice;//卖出价格
 @property (nonatomic , copy) NSString *sellingTime;//卖出时间
 @property (nonatomic , copy) NSString *rightTime;//行权时间
 @property (nonatomic , copy) NSString *expireTime;//过期时间
 
 
 
 }
 */
/*
 WAITCONFIRMED("1", "待确认"),
 
 FAILURE("2", "申购失败"),
 
 TURNOVER("3", "已成交"),
 
 APPLYRIGHT("4", "申请行权"),
 
 INSETTLEMENT("5", "结算中"),
 
 SETTLEMENTED("6", "已结算");
 
 */
@property (nonatomic , copy) NSString *publisherId;//申请ID
@property (nonatomic , copy) NSString *tradeNo;//交易单号
@property (nonatomic , copy) NSString *rightMoney;//权利金
@property (nonatomic , copy) NSString *publisherPhone;//用户手机号
@property (nonatomic , copy) NSString *lastPrice;//当前价格
@property (nonatomic , copy) NSString *updateTime;//更新时间
@property (nonatomic , copy) NSString *cycleName;//行权周期
@property (nonatomic , copy) NSString *stockCode;//股票代码
@property (nonatomic , copy) NSString *buyingType;//买入类型
@property (nonatomic , copy) NSString *stockName;//股票名称
@property (nonatomic , copy) NSString *cycle;//行权周期
@property (nonatomic , copy) NSString *rightMoneyRatio;//权利金比例
@property (nonatomic , copy) NSString *state;//状态
@property (nonatomic , copy) NSString *profit;//盈利
@property (nonatomic , copy) NSString *Id;//
@property (nonatomic , copy) NSString *upDropPrice;//价格变化幅度
@property (nonatomic , copy) NSString *upDropSpeed;//价格变化百分比
@property (nonatomic , copy) NSString *applyTime;//申请时间
@property (nonatomic , copy) NSString *nominalAmount;//名义本金
@property (nonatomic , copy) NSString *sellingPrice;//卖出价格
@property (nonatomic , copy) NSString *sellingTime;//卖出时间
@property (nonatomic , copy) NSString *rightTime;//行权时间
@property (nonatomic , copy) NSString *expireTime;//过期时间
@property (nonatomic , copy) NSString *buyingTime;//买入时间
@property (nonatomic , copy) NSString *buyingPrice;//买入价格
@property (nonatomic , copy) NSString *stockStatus;//是不是停牌了   0停牌，1正常

@property (nonatomic , assign) BOOL isSelected;

//辅助属性
//名义本金
@property (nonatomic , copy) NSString *pzNominalAmount;
//买入价格
@property (nonatomic , copy) NSString *pzBuyPrice;
//买入方式
@property (nonatomic , copy) NSString *pzBuyWay;
//权利金
@property (nonatomic , copy) NSString *pzRightMoney;
//年与日
@property (nonatomic , copy) NSString *pzYear;
//时分秒
@property (nonatomic , copy) NSString *pzHour;
//能不能点击卖出
@property (nonatomic , assign) BOOL isCanSale;

//浮动盈亏
@property (nonatomic , copy) NSString *pzProfit;

//成交时间
@property (nonatomic , copy) NSString *chengJiaoTime;
//到期时间
@property (nonatomic , copy) NSString *pzExpireTime;
//当前价
@property (nonatomic , copy) NSString *pzLastPrice;

@end
